package com.ChenYaRou.www.po;

import java.time.LocalDateTime;

/**
 * @ClassName JsonBeanMessage
 * @Description TODO
 * @Author 86183
 * @Date 2022/5/5 0:03
 * @Version 1.0
 **/
public class JsonBeanMessage {
    private Integer id;
    private String shopName;
    private String content;
    private String senderName;
    private Integer senderId;
    private LocalDateTime leftTime;
    private Integer likes;
    private Integer parentId;
    private String senderPicture;

    public JsonBeanMessage() {
    }

    public JsonBeanMessage(Integer id, String shopName, String content, String senderName,
                           LocalDateTime leftTime, Integer likes, Integer parentId, Integer senderId,String senderPicture) {
        this.id = id;
        this.shopName = shopName;
        this.content = content;
        this.senderName = senderName;
        this.leftTime = leftTime;
        this.likes = likes;
        this.parentId = parentId;
        this.senderId= senderId;
        this.senderPicture= senderPicture;
    }

    @Override
    public String toString() {
        return "JsonBeanMessage{" +
                "id=" + id +
                ", shopName='" + shopName + '\'' +
                ", content='" + content + '\'' +
                ", senderName='" + senderName + '\'' +
                ", senderId=" + senderId +
                ", leftTime=" + leftTime +
                ", likes=" + likes +
                ", parentId=" + parentId +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public LocalDateTime getLeftTime() {
        return leftTime;
    }

    public void setLeftTime(LocalDateTime leftTime) {
        this.leftTime = leftTime;
    }

    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public String getSenderPicture() {
        return senderPicture;
    }

    public void setSenderPicture(String senderPicture) {
        this.senderPicture = senderPicture;
    }
}
